package com.spring.po;

public class User {
	private String usename;
	private String password;
	private int age;
	private Address address;
	
	public Address getAddress() {
		return address;
	}
	public void setAddress(Address address) {
		this.address = address;
	}
	public String getUsename() {
		return usename;
	}
	public void setUsename(String usename) {
		this.usename = usename;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	@Override
	public String toString() {
		return "User [usename=" + usename + ", password=" + password + ", age="
				+ age + ", address=" + address + "]";
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	public User(String usename, String password, int age) {
		super();
		this.usename = usename;
		this.password = password;
		this.age = age;
	}
	

}
